<?php
/**
 * View parcial para campo radio form admin
 * @param campo
 * @param cabecalho
 * @param valor
 */
$campo = $this->campo;
$cabecalho = $this->cabecalho;
$opcoes = $this->opcoes;
$valor = $this->valor;
?>
<label><?php echo $cabecalho; ?></label>
<?php 
$cont = 1;	
foreach((array)$opcoes as $opcao => $texto){
?>
	<label for="<?php echo $campo; ?>">
		<input type="radio" name="<?php echo $campo; ?>" <?php echo ($opcao == $valor || (empty($valor) && $cont == 1)) ? 'checked="checked"' : ''; ?> value="<?php echo $opcao; ?>" /><b><?php echo $texto; ?></b>
	</label>
<?php
$cont++; 
}
?>